//
//  City.m
//  作业7
//
//  Created by dllo on 16/7/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "City.h"

@implementation City
- (instancetype)initWithName:(NSString *)name {
    if (self = [super initWithName:name]) {
        self.arr = [NSMutableArray array];
    }
    return self;
}
- (void)dealloc
{
    [_arr release];
    [super dealloc];
}
- (NSString *)description {
    return [NSString stringWithFormat:@"%@ %@ %@",self.name,self.mNumber,_arr];
}
- (instancetype)initWitnTempCity:(TempCity *)tempCity{
    self = [super initWitnTempCity:tempCity];
    if (self) {
        _arr = [NSMutableArray array];
    }
    return self;
}
@end
